//
//  AppDelegate.m
//  chuyong
//
//  Created by tikeios_002 on 2023/7/11.
//

#import "AppDelegate.h"
#import "CLBarDelegate.h"
#import "JITAMainView.h"
@interface AppDelegate ()

@end



@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    self.window.backgroundColor = [UIColor whiteColor];
    [self.window makeKeyAndVisible];
    
    if(@available(iOS 13.0,*)){
        self.window.overrideUserInterfaceStyle = UIUserInterfaceStyleLight;
    }
    
    JITAMainView * view = [JITAMainView new];
    self.window.rootViewController = view;


    return YES;
}


- (void)applicationDidEnterBackground:(UIApplication *)application {

}


- (void)applicationDidBecomeActive:(UIApplication *)application{
   
}
#pragma mark -推送
- (void)application:(UIApplication *)application
didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
   
}

- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler {
    NSLog(@"----------%@",userInfo);
}
@end
